home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / linux / kdebug.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  448 b   |  23 lines

  1. #ifndef _LINUX_KDEBUG_H
  2. #define _LINUX_KDEBUG_H
  3.  
  4. #include <asm/kdebug.h>
  5.  
  6. struct notifier_block;
  7.  
  8. struct die_args {
  9.     struct pt_regs *regs;
  10.     const char *str;
  11.     long err;
  12.     int trapnr;
  13.     int signr;
  14. };
  15.  
  16. int register_die_notifier(struct notifier_block *nb);
  17. int unregister_die_notifier(struct notifier_block *nb);
  18.  
  19. int notify_die(enum die_val val, const char *str,
  20.            struct pt_regs *regs, long err, int trap, int sig);
  21.  
  22. #endif /* _LINUX_KDEBUG_H */
  23.